package s2elinshu.model;

public class DivVO {
	private int a;
	private int b;

	public DivVO(int a, int b) {
		this.a = a;
		this.b = b;
	} // public Div닫음

	public int getCalculate() {return (a/b);}
	public void setA(int a) {this.a = a;}
	public void setB(int b) {this.b = b;}
	
@Override
public String toString() {
String result = "";
result += a+"%"+b+"="+getCalculate();
	return result;
}
}// public class DivVO 닫음
